package com.meituan.dao;

import com.meituan.pojo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.jpa.repository.JpaRepository;

@Mapper
public interface UserRepository extends JpaRepository<User,Integer> {
    User findByEmail(String email);

    User findByUsername(String username);
}
